#ifndef THREAD_H_
#define THREAD_H_

#include <pthread.h>

/*Encapsulado de Threads*/
class Thread {
private:
	pthread_t t;
	static void* start_routine(void* Arg);
public:
	Thread(){};
	virtual ~Thread(){};
	int start();
	void* join();
	virtual void* run()=0;
};



#endif /* THREAD_H_ */
